<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>员工</title>
    <%@include file="/static/js/common.jsp"%>
    <script src="/static/js/memberInfo.js"></script>
    <script>

    </script>
</head>





        <body class="easyui-layout">
       <%-- <div data-options="region:'north'" style="height:300px;">
            <div style="width: 2000px;height: 200px;margin-left: 30px;margin-top: 15px">
                <table>
                    <tr>
                        <td>
                            <div id="p" class="easyui-panel" style="width:259px;height:180px;">
                                <p style="font-size:14px">今日过生日的会员</p><br><br><br><br>
                                <p style="font-size:45px ;" align="center"><span style="color: red"><i id="bircount">0</i>位</span></p><br><br><br><br>
                                <p style="font-size:14px">本月还有<span style="color: red"><i id="bimcount">0</i>位</span>为会员过生日</p>
                            </div>
                        </td>
                        <td>
                            <div class="easyui-panel" style="width:259px;height:180px;">
                                <p style="font-size:14px">会员总数</p><br><br><br><br>
                                <p style="font-size:45px ;" align="center"><span style="color: red"><i id="totalClient">0</i>位</span></p><br><br><br><br>
                                <p style="font-size:14px">平均每日新增<span style="color: red"><i id="average">2</i></span>位会员</p>
                            </div>
                        </td>
                        <td>
                            <div class="easyui-panel" style="width:259px;height:180px;">
                                <p style="font-size:14px">累计消费</p><br><br><br><br>
                                <p style="font-size:45px ;" align="center"><span style="color: red"><i id="totalExpense">0</i>元</span></p><br><br><br><br>
                                <p style="font-size:14px">共<span style="color: red"><i id="totalCount">0</i></span>
                                    笔,平均每位会员消费<span style="color: red"><i id="averageExpense">0</i></span>元</p>
                            </div>
                        </td>
                        <td>
                            <div class="easyui-panel" style="width:300px;height:180px;">
                                <p style="font-size:40px;height:50px; ;" align="center">消费<span style="color: red"><i>TOP3</i></span>会员</p><br>
                                <div id="top_datagrid" class="easyui-datagrid"></div>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>--%>
        </div>




        <div data-options="region:'center'" style="padding:5px;background:#eee;">


            <table id="memberInfo_dg"></table>
            <div id="memberInfo_tb">
                <a class="easyui-linkbutton" data-cmd="saveUser" data-options="iconCls:'icon-add',text:'新增'"></a>
                <a class="easyui-linkbutton" data-cmd="editUser" data-options="iconCls:'icon-edit',text:'编辑'"></a>
                <a id="btn_change" class="easyui-linkbutton" data-cmd="changeUser" data-options="iconCls:'icon-no',text:'离职'"></a>
                <a id="btn_charge" class="easyui-linkbutton" data-cmd="queryCharge" data-options="iconCls:'icon-search',text:'充值记录'"></a>
                <a id="btn_gift" class="easyui-linkbutton" data-cmd="queryGift" data-options="iconCls:'icon-search',text:'礼品记录'"></a>
                <a id="btn_sale" class="easyui-linkbutton" data-cmd="querySale" data-options="iconCls:'icon-search',text:'消费记录'"></a>
                会员名/电话号码/卡号:
                <input id="number" class="easyui-textbox" prompt="请输入卡号或者手机号码" style="width: 200px" name="keyword">


                <a class="easyui-linkbutton" data-cmd="queryForKey"  data-options="iconCls:'icon-search',text:'查询'"></a>
            </div>
            <div id="memberInfo_dig">
                <form id="memberInfo_form" method="post">
                    <input type="hidden"  name="id"/>
                    <table align="center" style="margin:15px">
                        <tr>
                            <td>姓名:</td>
                            <td><input name="name" class="easyui-textbox" prompt="请输入名字"></td>
                        </tr>

                        <tr id="password">
                            <td>密码:</td>
                            <td><input name="password" class="easyui-passwordbox" prompt="请输入密码"></td>
                        </tr>
                        <tr>
                            <td>手机号:</td>
                            <td><input name="tel" class="easyui-textbox" prompt="请输入手机号"></td>
                        </tr>



                        <tr>
                            <td>地址:</td>
                            <td><input name="address" class="easyui-textbox" prompt="请输入地址"></td>
                        </tr>
                        <tr>
                            <td>邮件:</td>
                            <td><input name="email" class="easyui-textbox" validType="email" prompt="请输入有效邮箱"></td>
                        </tr>
                        <tr>
                            <td>性别:</td>
                            <td><input name="gender" class="easyui-combobox"
                                       data-options="data:[{
                                                    'value':'0',
                                                    'text':'男'
                                                },{
                                                    'value':'1',
                                                'text':'女'
                                                }
                                                ],textfield:'text',valuefield:'value',panelHeight:'auto'">
                        </tr>
                        <tr>
                            <td>会员生日:</td>
                            <td><input name="memberbirthday" class="easyui-datebox"></td>
                        </tr>


                    </table>
                </form>
            </div>
            <!--对话框底部工具栏-->
            <div id="memberInfo_dig_btn">
                <a class="easyui-linkbutton" data-cmd="submitForm" data-options="iconCls:'icon-save',text:'保存'"></a>
                <a class="easyui-linkbutton" data-cmd="closeWin" data-options="iconCls:'icon-cancel',text:'取消'"></a>
            </div>
        </div>
<%--充值明细查询--%>
       <div id="dig_charge" class="easyui-dialog" title="充值明细" style="width:750px;height:450px;"
            data-options="iconCls:'icon-save',resizable:true,modal:true,closed:true">
           <table id="charge_datagrid"></table>

       </div>
 <%--兑换礼品明细查询--%>
       <div id="dig_gift" class="easyui-dialog" title="兑换明细" style="width:700px;height:400px;"
            data-options="iconCls:'icon-save',resizable:true,modal:true,closed:true">
           <table id="gift_datagrid"></table>

       </div>




        </body>






</html>
